package com.hxk.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
/**
 * springboot整合listener方式二
 * 通过方法注册方式
 * @author Cactus
 */
public class MyListener2 implements ServletContextListener {

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		System.out.println("springboot整合listener方式二通过方法注册方式.....init....");
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {
		
	}

}
